There is no unified standard for fruits and vegetables such as apples and tomatoes that grow in nature, and each fruit has the same shape, maturity, optical quality, weight, and degree of damage. If these features that can characterize quality can be measured more accurately, then they can achieve more optimized marketing. From the food market to discount retailers, and then to the processing industry, there are different requirements for quality and prices. Therefore, how to accurately classify and ensure that fruits and vegetables are not sold at low prices to the wrong customers is the economic means that producers are most interested in. Machine vision technology makes it possible to automate the classification of fruits and vegetables.
The quality and price of fruits depend on their own characteristics, such as size, weight, color, and the degree of damage on the surface and inside. In addition to size and weight, color and surface characteristics play an important role in the dried fruit market. Usually, due to the high moisture and sugar content of the fruit, the peel and flesh are easily separated. Therefore, bubbles are easily generated on the surface of dried fruits. These bubbles not only affect the taste of the dried fruit, but also its appearance. These factors will all reduce the value of dried fruits.
Jujube is an important dietary component in the Middle East region. There are many varieties of jujubes in the local area, one of which is the palm jujube (Madjoul), which is large in size and has a lot of meat, and is quite popular among people. Jujubes mainly grow in the Middle East and are processed and sold there.
Coconut dates are not easy to process. Compared to other fruits, they are smaller in size and each fruit is of different sizes, with a slightly sticky surface. So after a bountiful harvest, they usually stick together in chunks Therefore, before they are detected, there needs to be a feasible method to send them into the system.
In order to separate the sticky dates one by one, the loose fruits are sent into a vibrating conveyor covered with V-shaped grooves. The vibration of the transporter causes the fruits to separate one by one and arrange them in rows on the trough.


Next, the date palm is fed into a transmission system composed of parallel polyester wires. Each transmission system passing through the detection station includes a trigger sensor, a digital camera, and lighting device. Above the transmission system are color cameras, each connected to a dome light with a diameter of 10cm, providing uniform white light illumination for the dates. Uniform white light illumination is crucial as detection is based on color analysis. When each date passes through the light sensor, it triggers the camera and lighting device.
Subsequently, the captured images are transmitted to the computer host through the camera's visual interface. After the image is transmitted to the host, image analysis is performed. Coconut dates are first distinguished from the background, and the RGB data is converted into HSI color space format for color analysis. The bubbles on the outer skin will appear lighter in color. Through this method, the quantity, size, and formation of bubbles can be determined.
If there are too many bubbles in the date palm and it exceeds the set threshold, the date palm will be picked out with compressed air. The screening criteria can be defined based on the customer's demand for quality. At the same time, the system can also set different categories, such as products to be processed, retail products, etc.
There is no unified standard for fruits and vegetables such as dates and tomatoes that grow in nature. Each fruit has the same shape, maturity, optical quality, weight, and degree of damage. If these features that can characterize quality can be measured more accurately, then they can achieve more optimized marketing. From the food market to discount retailers, and then to the processing industry, there are different requirements for quality and prices. Therefore, how to accurately classify and ensure that fruits and vegetables are not sold at low prices to the wrong customers is the economic means that producers are most interested in.